Optimal. Leaf size=26 \[ \frac {x}{a}-\frac {\log \left (a+b e^{c+d x}\right )}{a d} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 26, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 4, integrand size = 13, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.308, Rules used = {2320, 36, 29,
31} \begin {gather*} \frac {x}{a}-\frac {\log \left (a+b e^{c+d x}\right )}{a d} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 29
Rule 31
Rule 36
Rule 2320
Rubi steps
\begin {align*} \int \frac {1}{a+b e^{c+d x}} \, dx &=\frac {\text {Subst}\left (\int \frac {1}{x (a+b x)} \, dx,x,e^{c+d x}\right )}{d}\\ &=\frac {\text {Subst}\left (\int \frac {1}{x} \, dx,x,e^{c+d x}\right )}{a d}-\frac {b \text {Subst}\left (\int \frac {1}{a+b x} \, dx,x,e^{c+d x}\right )}{a d}\\ &=\frac {x}{a}-\frac {\log \left (a+b e^{c+d x}\right )}{a d}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.02, size = 42, normalized size = 1.62 \begin {gather*} \frac {\log \left (e^{c+d x}\right )}{a d}-\frac {\log \left (a^2 d+a b d e^{c+d x}\right )}{a d} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.02, size = 33, normalized size = 1.27
method | result | size |
norman | \(\frac {x}{a}-\frac {\ln \left (a +b \,{\mathrm e}^{d x +c}\right )}{a d}\) | \(26\) |
derivativedivides | \(\frac {-\frac {\ln \left (a +b \,{\mathrm e}^{d x +c}\right )}{a}+\frac {\ln \left ({\mathrm e}^{d x +c}\right )}{a}}{d}\) | \(33\) |
default | \(\frac {-\frac {\ln \left (a +b \,{\mathrm e}^{d x +c}\right )}{a}+\frac {\ln \left ({\mathrm e}^{d x +c}\right )}{a}}{d}\) | \(33\) |
risch | \(\frac {x}{a}+\frac {c}{a d}-\frac {\ln \left ({\mathrm e}^{d x +c}+\frac {a}{b}\right )}{a d}\) | \(36\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.30, size = 32, normalized size = 1.23 \begin {gather*} \frac {d x + c}{a d} - \frac {\log \left (b e^{\left (d x + c\right )} + a\right )}{a d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.42, size = 24, normalized size = 0.92 \begin {gather*} \frac {d x - \log \left (b e^{\left (d x + c\right )} + a\right )}{a d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.05, size = 17, normalized size = 0.65 \begin {gather*} \frac {x}{a} - \frac {\log {\left (\frac {a}{b} + e^{c + d x} \right )}}{a d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 1.78, size = 31, normalized size = 1.19 \begin {gather*} \frac {\frac {d x + c}{a} - \frac {\log \left ({\left | b e^{\left (d x + c\right )} + a \right |}\right )}{a}}{d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 3.50, size = 24, normalized size = 0.92 \begin {gather*} -\frac {\ln \left (a+b\,{\mathrm {e}}^{d\,x}\,{\mathrm {e}}^c\right )-d\,x}{a\,d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________